﻿
@{
    Layout = null;
}
@model ESMAM.Model.SYS.sys_user

<div class="bjui-pageContent">
    <form id="form_ChangePwd" action="/User/ChangePwd" data-toggle="validate" method="post" data-close-current="true">
        <input type="hidden" name="dia_loginName" value="@Model.loginname" id="dia_username">
        <div class="bjui-row col-1">
            <label class="row-label">@Html.CurLang("登录名"):</label>
            <div class="row-input">@Model.loginname</div>
            <label class="row-label">@Html.CurLang("旧密码"):</label>
            <div class="row-input required">
                <input type="password" id="dia_old_pwd" name="dia_old_pwd" value="" data-rule="@Html.CurLang("旧密码"):required">
            </div>
            <label class="row-label">@Html.CurLang("新密码"):</label>
            <div class="row-input required">
                <input type="password" id="dia_new_pwd1" name="dia_new_pwd1" value="" data-rule="@Html.CurLang("新密码"):required;length(6~)">
            </div>
            <label class="row-label">@Html.CurLang("确认密码"):</label>
            <div class="row-input required">
                <input type="password" id="dia_new_pwd2" name="dia_new_pwd2" value="" data-rule="@Html.CurLang("确认密码"):required;match(#dia_new_pwd1)">
            </div>
        </div>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">@Html.CurLang("关闭")</button></li>
        <li><button type="submit" id="btnChangePwdSave" class="btn-default" data-icon="check">@Html.CurLang("确认修改")</button></li>
    </ul>
</div>